package com.flrjcx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 邮箱配置
 * @author Flrjcx
 */
@Component
@ConfigurationProperties(prefix = "mail")
@Data
public class MailProperties {

    private String from;


    private String to;

    //getter and setter...
}